<template>
  <div class="el-dialog-div" ref="formBox">
    <el-form ref="form" :model="form" label-width="100px">
      <el-form-item label="电话号码" prop="phone">
        <el-input v-model.number="form.phone" :readonly="true" />
      </el-form-item>
      <el-form-item label="发送内容" prop="content">
        <el-input v-model="form.content" :readonly="true" />
      </el-form-item>
      <el-form-item label="状态" prop="status">
        <el-input v-model="form.statusStr" :readonly="true" />
      </el-form-item>
      <el-form-item label="短信返回json" prop="returnJson">
        <el-input type="textarea" :rows="4" v-model="form.returnJson" :readonly="true" />
      </el-form-item>
    </el-form>
  </div>
</template>

<script>

export default {
  name: 'formView',
  props: {
    form: {
      type: Object,
    },
    statusList: {
      type: Array,
    }
  },

}
</script>

<style lang="scss" scoped>
.el-dialog-div {
  height: 70vh;
  overflow: auto;
  padding-right: 30px;
}
</style>